import { MockMethod } from 'vite-plugin-mock'

export default [
	{
		url: '/api/hooks/menu/list',
		method: 'get',
		response : () => {
			return {
				code: 200,
				message: 'ok',
				data: {
					menuList: [
						{
							icon: 'HomeOutlined',
							title: '首页',
							path: '/home'
						},
						{
							icon: "AreaChartOutlined",
							path: "/dataScreen/index",
							title: "数据大屏"
						},
						{
							icon: "PieChartOutlined",
							path: "/echarts",
							title: "Echarts",
							children:[
								{
									icon: "AppstoreOutlined",
									path: "/echarts/waterChart",
									title: "水型图",
								}
							]
						},
					]
				}
			}
		}
	}
] as MockMethod[]
